﻿using LJX.SmartPark.Common.ResponseOutput;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static LJX.SmartPark.Service.IotInfo.LightingInfo.LightingInfoServeice;
using DB = LJX.SmartPark.Domain.IotInfo.LightingInfo;

namespace LJX.SmartPark.Service.IotInfo.LightingInfo
{
    public interface ILightingInfoServeice:ITransientService
    {
        Task<Response<List<DB.LightingInfo>>> GetLightingInfoAsync(Fen fen);

        Response<DB.LightingInfo> GetLightingInfoById(DB.LightingInfo input);

        int GetCount();
        Task<Response<bool>> PostAddLightingInfoAsync(DB.LightingInfo input);
        Task<Response<bool>> DeleteLightingInfoAsync(DB.LightingInfo input);
        Task<Response<bool>> PutUpdLightingInfoAsync(DB.LightingInfo input);
    }
}
